package blog.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("config")
public class Config implements Serializable {

	@TableId(value = "name")
	private String name;

	@TableField("value")
	private String value;

	public final static String HOME_CATEGORY_NUMBER = "home_category_number";
	public final static String HOME_CHAPTER_NUMBER = "home_chapter_number";
	public final static String HOME_COMMEND_CHAPTER_NUMBER = "home_commend_chapter_number";
	public final static String COPYRIGHT = "copyright";
}
